const express = require('express');
const { createProxyMiddleware } = require('http-proxy-middleware');
const cors = require('cors');
const app = express();
app.use(cors());  // 设置跨域
app.use('/', createProxyMiddleware({ target: 'http://220.160.62.227:8083/kinface', changeOrigin: true }));
app.listen(3000);
